<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户登录</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h2>用户登录</h2>
        <form id="loginForm">
            <label for="loginUsername">用户名:</label>
            <input type="text" id="loginUsername" name="loginUsername" required>
            
            <label for="loginPassword">密码:</label>
            <input type="password" id="loginPassword" name="loginPassword" required>
            
            <button type="submit">登录</button>
            <p id="loginError" class="error"></p>
        </form>
    </div>
    <script src="script.js"></script>
</body>
</html>